package com.work.common.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum AuthType {

    LOGIN_EXPIRED(10030, "登录已过期"),

    LOGIN_ERROR(10031, "登录失败"),

    LOGIN_SUCCESS(10032, "登录成功"),

    LOGOUT_SUCCESS(10033, "退出成功"),

    LOGOUT_ERROR(10034, "退出失败"),

    LOGOUT_EXPIRED(10035, "退出已过期"),

    LOGOUT_ERROR_TOKEN(10036, "退出失败，token错误"),

    LOGOUT_ERROR_USER(10037, "退出失败，用户不存在");

    private final int code;
    private final String msg;
}
